<?php
/**
 * <https://y.st./>
 * Copyright © 2018 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'<{title}>' => 'Mining bags',
	'takedown' => '2017-11-01',
	'<{body}>' => <<<END
<img src="/img/CC_BY-SA_4.0/y.st./weblog/2018/11/19.jpg" alt="Fog-obscured mountains in the distance" class="framed-centred-image" width="649" height="480"/>
<section id="errands">
	<h2>Errands</h2>
	<p>
		I bought the spare inner tubes and the new water bottle, and even grabbed the soy milk I was supposed to buy on Wednesday before I decided getting some rest was more necessary at the time than replenishing my supply.
	</p>
</section>
<section id="drudgery">
	<h2>Drudgery</h2>
	<p>
		My discussion post for the day:
	</p>
	<blockquote>
		<p>
			Great job on your in-depth explanation of each of this week&apos;s terms!
		</p>
		<p>
			I&apos;ve never heard of the Dart programming language.
			&quot;Rune&quot; seems like an odd name for a type, but the language seems to have been built by Google, and Google has an odd sense of humour.
		</p>
	</blockquote>
</section>
<section id="Minetest">
	<h2>Minetest</h2>
	<p>
		I&apos;ve thrown away the <code>minequest</code> idea.
		Again.
		For the same reasons as before.
		It really isn&apos;t feasible without drastically changing the way Minetest is played.
		The Minetest engine and $a[API] could certainly handle what I want out of <code>minequest</code>, but the result just wouldn&apos;t feel like Minetest any more.
	</p>
	<p>
		However, I&apos;ve come up with a better idea.
		This one has much less wrong with it.
		Instead of building a huge number of abilities to choose from and allowing players to choose eight abilities, my mew plan involves creating a much smaller number of item-storage types and allowing players to pick just one.
		In addition to players&apos; main inventory, they&apos;ll have the option to carry one bag, which can store items, but only items that fit certain criteria.
		Bag inventory size is determined by the bag type and the mining statistics of the player.
		The more general the bag&apos;s purpose, the more effort it takes to increase the size.
		For example, the bag that can hold anything will likely only have one inventory slot for about every hundred stacks of countable material you&apos;ve mined.
		On the other hand, the bag that holds only items made from coal will have one inventory slot for every stack of coal you&apos;ve mined.
		These are the extreme cases, and every countable material will have it&apos;s own such bag available, but there&apos;ll also be bags with a happier medium.
		For example, an arborist&apos;s satchel would hold one stack of saplings (of any species) for every seven stacks of saplings mined.
		Mining satchels, mushrooming satchels, and the like will be offered as well.
		If I can come up with a sensible category of countable items, there&apos;ll probably be a bag for it.
	</p>
	<p>
		Players can only use one bag at a time, but they can switch bags whenever they like.
		The catch is that they&apos;ve got to empty their current bag before dequipping it, and must dequip their old bag before equipping a new one.
		If you know what you&apos;re leaving home to do, you can equip the right bag for the right job.
	</p>
</section>
END
);
